 package handling.world.guild;

 import client.MapleCharacter;
 import java.io.Serializable;

 public class MapleGuildCharacter
   implements Serializable
 {
   public static final long serialVersionUID = 2058609046116597760L;
/*  10 */   private byte channel = -1;

   private byte guildrank;

   private byte allianceRank;

   private int level;

   private int id;

   private int jobid;

   public MapleGuildCharacter(MapleCharacter chr) {
/*  23 */     this.name = chr.getName();
/*  24 */     this.level = chr.getLevel();
/*  25 */     this.id = chr.getId();
/*  26 */     if (chr.getClient() != null) {
/*  27 */       this.channel = (byte)chr.getClient().getChannel();
     }
/*  29 */     this.jobid = chr.getJob();
/*  30 */     this.guildrank = chr.getGuildRank();
/*  31 */     this.guildid = chr.getGuildId();
/*  32 */     this.guildContribution = chr.getGuildContribution();
/*  33 */     this.allianceRank = chr.getAllianceRank();
/*  34 */     this.online = true;
   }
   private int guildid; private int guildContribution; private boolean online; private String name;

   public MapleGuildCharacter() {}

   public MapleGuildCharacter(int id, short lv, String name, byte channel, int job, byte rank, int guildContribution, byte allianceRank, int guildid, boolean on) {
/*  41 */     this.level = lv;
/*  42 */     this.id = id;
/*  43 */     this.name = name;
/*  44 */     if (on) {
/*  45 */       this.channel = channel;
     }
/*  47 */     this.jobid = job;
/*  48 */     this.online = on;
/*  49 */     this.guildrank = rank;
/*  50 */     this.allianceRank = allianceRank;
/*  51 */     this.guildContribution = guildContribution;
/*  52 */     this.guildid = guildid;
   }

   public int getLevel() {
/*  56 */     return this.level;
   }

   public void setLevel(int l) {
/*  60 */     this.level = l;
   }

   public int getId() {
/*  64 */     return this.id;
   }

   public int getChannel() {
/*  68 */     return this.channel;
   }

   public void setChannel(byte ch) {
/*  72 */     this.channel = ch;
   }

   public int getJobId() {
/*  76 */     return this.jobid;
   }

   public void setJobId(int job) {
/*  80 */     this.jobid = job;
   }

   public int getGuildId() {
/*  84 */     return this.guildid;
   }

   public void setGuildId(int gid) {
/*  88 */     this.guildid = gid;
   }

   public byte getGuildRank() {
/*  92 */     return this.guildrank;
   }

   public void setGuildRank(byte rank) {
/*  96 */     this.guildrank = rank;
   }

   public int getGuildContribution() {
/* 100 */     return this.guildContribution;
   }

   public void setGuildContribution(int c) {
/* 104 */     this.guildContribution = c;
   }

   public boolean isOnline() {
/* 108 */     return this.online;
   }

   public void setOnline(boolean f) {
/* 112 */     this.online = f;
   }

   public String getName() {
/* 116 */     return this.name;
   }

   public byte getAllianceRank() {
/* 120 */     return this.allianceRank;
   }

   public void setAllianceRank(byte rank) {
/* 124 */     this.allianceRank = rank;
   }
 }


/* Location:              C:\PGX\Server.jar!\handling\world\guild\MapleGuildCharacter.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */